package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_rank_union_war_command", desc = "巅峰商会战-任命", autoSave = true, uploadCk = true, isCross = true)
public class CrossRankUnionWarCommandLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "gameNo")
    private int gameNo;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionId;
    @FieldTypeAnnotation(desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(desc = "职位")
    private int userPosition;
    @FieldTypeAnnotation(desc = "第几阵")
    private int line;
    @FieldTypeAnnotation(desc = "任命用户id")
    private String commandUserId;

    public CrossRankUnionWarCommandLog(int activityId, int gameNo, String unionId, long userId, int userPosition, int line, String commandUserId) {
        this.activityId = activityId;
        this.gameNo = gameNo;
        this.unionId = unionId;
        this.userId = userId;
        this.userPosition = userPosition;
        this.line = line;
        this.commandUserId = commandUserId;
    }

    public long getUserId() {
        return userId;
    }

}
